home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVREC
/
IRCPAC.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
10KB
|
415 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int pacDialogId ;
extern int pacSubDialogId ;
extern int pacRoughBar ;
extern int pacRoughSet() ;
extern int pacRoughNumId ;
extern int pacMesId[8] ;
extern int pacTIconId[2] ;
extern int pacIdouFunc() ;
extern int pacFilterBar ;
extern int pacFilterSet() ;
extern int pacFilterNumId ;
extern int pacOKBtnId ;
extern int pacOKchk() ;
extern int pacCanBtnId ;
extern int pacWaitDialogId ;
extern int pacWaitMesId[2] ;
extern int pacWaitNumId[2] ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIRCPAC = { "MmiInit", 23, 0 } ;
/* pacDialogId */
static MMIPACKET d001 = { &pacDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SAVEL40,
160, 161, 480, 319, 8, 4, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* pacSubDialogId */
static MMIPACKET d002 = { &pacSubDialogId,
&pacDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
181, 184, 462, 281, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* pacRoughBar */
static MMIPACKET d003 = { &pacRoughBar,
&pacSubDialogId,
&MJ_SCRLL40,
OFFSET(SCRLL40),
MS_NONE
} ;
static SCRLL40 d003d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_HORIL40,
257, 197, 416, 212, 8, 6, 7,
MS_PANELL40 | MS_FRAMEL40,
pacRoughSet,
0, 0, 32, 1, 1,
265, 266
} ;
/* pacRoughNumId */
static MMIPACKET d004 = { &pacRoughNumId,
&pacSubDialogId,
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d004d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_FIXEDL40,
426, 195, 449, 214, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
1, 12, 12,
MS_BOLDL40,
0, 0,
0, 0, 16, 1, 0,
263, 264
} ;
/* pacMesId[1] */
static MMIPACKET d005 = { &pacMesId[1],
&pacSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_LEFTL40 | MS_DSPONLYL40,
192, 197, 251, 212, 0,15, 8,
MS_NONEL40,
"âëâtâîü[âg",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacMesId[2] */
static MMIPACKET d006 = { &pacMesId[2],
&pacSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d006d = { MS_CENTERL40 | MS_DSPONLYL40,
188, 253, 251, 269, 0,15, 8,
MS_NONEL40,
"ê┌ô«òΓÅ₧",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacTIconId[0] */
static MMIPACKET d007 = { &pacTIconId[0],
&pacSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d007d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
349, 252, 408, 271, 0, 4, 8,
MS_NONEL40,
pacIdouFunc,
0x0000, 259, 260
} ;
/* pacTIconId[1] */
static MMIPACKET d008 = { &pacTIconId[1],
&pacSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d008d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
276, 252, 325, 271, 0, 4, 8,
MS_NONEL40,
pacIdouFunc,
0x0000, 259, 260
} ;
/* pacMesId[5] */
static MMIPACKET d009 = { &pacMesId[5],
&pacSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d009d = { MS_CENTERL40 | MS_DSPONLYL40,
294, 253, 325, 269, 0,15, 8,
MS_NONEL40,
"éném",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacMesId[6] */
static MMIPACKET d010 = { &pacMesId[6],
&pacSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
370, 253, 408, 269, 0,15, 8,
MS_NONEL40,
"énéeée",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacFilterBar */
static MMIPACKET d011 = { &pacFilterBar,
&pacSubDialogId,
&MJ_SCRLL40,
OFFSET(SCRLL40),
MS_NONE
} ;
static SCRLL40 d011d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_HORIL40,
257, 225, 416, 240, 8, 6, 7,
MS_PANELL40 | MS_FRAMEL40,
pacFilterSet,
0, 0, 32, 1, 1,
265, 266
} ;
/* pacFilterNumId */
static MMIPACKET d012 = { &pacFilterNumId,
&pacSubDialogId,
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d012d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_FIXEDL40,
426, 223, 449, 242, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
1, 12, 12,
MS_BOLDL40,
0, 0,
0, 0, 16, 1, 0,
263, 264
} ;
/* pacMesId[7] */
static MMIPACKET d013 = { &pacMesId[7],
&pacSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d013d = { MS_LEFTL40 | MS_DSPONLYL40,
192, 225, 251, 240, 0,15, 8,
MS_NONEL40,
"â\âtâgâlâX",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacOKBtnId */
static MMIPACKET d014 = { &pacOKBtnId,
&pacDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d014d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
232, 288, 293, 311,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
pacOKchk,
0x8012
} ;
/* pacMesId[3] */
static MMIPACKET d015 = { &pacMesId[3],
&pacDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d015d = { MS_CENTERL40 | MS_DSPONLYL40,
240, 292, 286, 308, 0,15, 8,
MS_NONEL40,
"Ä└ ìs",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacCanBtnId */
static MMIPACKET d016 = { &pacCanBtnId,
&pacDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d016d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
354, 288, 415, 311,10, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
pacOKchk,
0x8011
} ;
/* pacMesId[0] */
static MMIPACKET d017 = { &pacMesId[0],
&pacDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_LEFTL40 | MS_DSPONLYL40,
182, 165, 276, 181, 8,15, 8,
MS_NONEL40,
"ô« ëµ ì∞ ɼ",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* pacMesId[4] */
static MMIPACKET d018 = { &pacMesId[4],
&pacDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d018d = { MS_CENTERL40 | MS_DSPONLYL40,
362, 292, 408, 308, 0,15, 8,
MS_NONEL40,
"ĵ Å┴",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* pacWaitDialogId */
static MMIPACKET d019 = { &pacWaitDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d019d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
320, 433, 639, 479, 8, 4, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* pacWaitMesId[0] */
static MMIPACKET d020 = { &pacWaitMesId[0],
&pacWaitDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d020d = { MS_CENTERL40 | MS_DSPONLYL40,
3